package com.tedu.project5.service;

import com.tedu.project5.common.Result;
import com.tedu.project5.dto.OrderInfoDTO;
import com.tedu.project5.dto.QueryOrderInfoDTO;
import com.tedu.project5.model.DdOrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author mhg
 * @since 2022-06-20
 */
public interface IDdOrderInfoService extends IService<DdOrderInfo> {

    Result queryExample(QueryOrderInfoDTO dto);

    Result saveOrder(DdOrderInfo orderInfo);

    Result updateOrder(OrderInfoDTO dto);

    Result deleteOrder(String id);
}
